package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教练列表对象 coach
 * 
 * @author ruoyi
 * @date 2022-11-28
 */
public class Coach extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 教练姓名 */
    @Excel(name = "教练姓名")
    private String name;

    /** 教练电话 */
    @Excel(name = "教练电话")
    private String phone;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 住址 */
    @Excel(name = "住址")
    private String address;

    /** 0正常，1休假，2离职 */
    @Excel(name = "0正常，1休假，2离职")
    private Long status;

    /** 工龄 */
    @Excel(name = "工龄")
    private Long coachAge;

    /** 教练工资 */
    @Excel(name = "教练工资")
    private Long salary;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setCoachAge(Long coachAge) 
    {
        this.coachAge = coachAge;
    }

    public Long getCoachAge() 
    {
        return coachAge;
    }
    public void setSalary(Long salary) 
    {
        this.salary = salary;
    }

    public Long getSalary() 
    {
        return salary;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("sex", getSex())
            .append("address", getAddress())
            .append("createTime", getCreateTime())
            .append("status", getStatus())
            .append("coachAge", getCoachAge())
            .append("salary", getSalary())
            .toString();
    }
}
